package tag

import "context"

var (
	AppName = "tag"
)

type Server interface {
	// CreateTag 创建标签
	CreateTag(ctx context.Context, request *CreateTagRequest) (*Tag, error)
	// UpdateTag 更新标签
	UpdateTag(ctx context.Context, request *UpdateTagRequest) (*Tag, error)
	// DeleteTag 删除标签
	DeleteTag(ctx context.Context, request *DeleteOrGetTagRequest) (*TagsList, error)
	// GetTag 查询标签
	GetTag(ctx context.Context, request *DeleteOrGetTagRequest) (*TagsList, error)
}
